Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restricted Queues #406

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Restricted Queues #406

wants to merge 4 commits into from

Conversation

val500
Copy link
Contributor

@val500 val500 commented Nov 14, 2024

Description

This PR adds restricted queue functionality to Testflinger. Restricted Queues are special queues that require authentication/authorization for job submission. A list of these queues are stored in a collection called restricted_queues. For every job submitted, the requested queue is checked to make sure it is not in the restricted queue collection. If it is, a JWT token must be submitted with the job with adequate permission to push to that restricted queue.

Resolved issues

Resolves https://warthogs.atlassian.net/browse/CERTTF-419

Documentation

Documentation was added to the public documentation in docs/

Web service API changes

N/A

Tests

Unit tests were added - these tests as well as previous job_priority/authentication tests were moved to test_v1_authorization.py.

@val500 val500 marked this pull request as draft November 14, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant